/* Modern, responsive styling with system fonts */
:root {
  --primary-color: #0070f3;
  --error-color: #f44336;
  --border-color: #e5e7eb;
  --text-color: #dedede;
  --text-color-secondary: #949494;
  --background-color: #1c1c1c;
  --border-color: #2a2929;
  --card-shadow: 0 0px 12px 0px rgb(0 230 153 / 0.3);
  --link-color: rgb(0 230 153 / 1);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica,
    Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
  margin: 0;
  padding: 0;
}

.container {
  max-width: 600px;

  margin: 2rem auto;
  padding: 1rem;
}

.precard {
  padding: 2rem;
  text-align: center;
}

.card {
  background-color: #0a0c09e6;
  border-radius: 8px;
  box-shadow: var(--card-shadow);
  padding: 2rem 2rem 0.5rem;
}

.header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--text-color);
  text-decoration: none;
}

.logo {
  width: 48px;
  height: 48px;
  margin-right: 1rem;
  border-radius: 8px;
  object-fit: contain;
}

.title {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 400;
}

.alert {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 400;
  margin: 1rem 0;
  text-align: center;
}

.description {
  color: var(--text-color-secondary);
}

.client-info {
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 1rem 1rem 0.5rem;
  margin-bottom: 1.5rem;
}

.client-name {
  font-weight: 600;
  font-size: 1.2rem;
  margin: 0 0 0.5rem 0;
}

.client-detail {
  display: flex;
  margin-bottom: 0.5rem;
  align-items: baseline;
}

.detail-label {
  font-weight: 500;
  min-width: 120px;
}

.detail-value {
  font-family: SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono',
    'Courier New', monospace;
  word-break: break-all;
}

.detail-value a {
  color: inherit;
  text-decoration: underline;
}

.detail-value.small {
  font-size: 0.8em;
}

.external-link-icon {
  font-size: 0.75em;
  margin-left: 0.25rem;
  vertical-align: super;
}

.actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 2rem;
}

.button {
  padding: 0.65rem 1rem;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.button-primary {
  background-color: rgb(0 229 153 / 1);
  color: rgb(26 26 26 / 1);
}

.button-secondary {
  background-color: transparent;
  border: 1px solid rgb(73 75 80 / 1);
  color: var(--text-color);
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .container {
    margin: 1rem auto;
    padding: 0.5rem;
  }

  .card {
    padding: 1.5rem;
  }

  .client-detail {
    flex-direction: column;
  }

  .detail-label {
    min-width: unset;
    margin-bottom: 0.25rem;
  }

  .actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
